package com.platform.admin.response;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author： yuanlai
 * @since 2021-07-23
 */
@Data
@ApiModel(value = "订单今日目标列表导出VO")
public class XxxExportListVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "目标工序id")
    private Integer targetAttributeId;
    @ApiModelProperty(value = "目标工序")
    @Excel(name = "目标工序")
    private String targetAttributeName;
    @Excel(name = "大版号/PO号", width = 25)
    @ApiModelProperty(value = "大版号/PO号")
    private String orderSn;
    @ApiModelProperty(value = "大版号")
    private String groupSn;
    @ApiModelProperty(value = "PO号")
    private String poSn;
    @Excel(name = "订单数量")
    @ApiModelProperty(value = "订单数量")
    private Integer orderNum;
    @Excel(name = "生产工序", width = 100)
    @ApiModelProperty(value = "生产工序")
    private String productionProcess;
    @Excel(name = "今日目标日期", format = "yyyy-MM-dd", width = 20)
    @ApiModelProperty(value = "今日目标日期")
    private Date createTime;
    @Excel(name = "实际完成时间", format = "yyyy-MM-dd HH:mm:ss", width = 20)
    @ApiModelProperty(value = "实际完成时间")
//    '1.待达成，2.已达成，3.未达成，4.已过期，5.已删除
    private Date completionTime;
    @Excel(name = "是否达标", replace = {"未达标_1", "已达标_2", "未达标_3", "未达标_4"})
    @ApiModelProperty(value = "是否达标")
    private String status;
    @ApiModelProperty(value = "PO工艺流程")
    private String subjectProcessFlow;
    @ApiModelProperty(value = "PO工艺流程")
    private String processFlow;
    @ApiModelProperty(value = "大版数量")
    private Integer groupNum;
    @ApiModelProperty(value = "PO订单数量")
    private Integer orderNumber;
}